package cn.com.cjwsjy.monitor.platform.earlywarn.entity.engineers;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 工程对象，包含了工程对象名称和工程对象id
 *
 * @author hd
 * @email 2659528139@qq.com
 * @date 2021-03-17 14:14:09
 */
@Data
@TableName("engineerings")
public class EngineeringsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 工程id，主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 工程对象名称
     */
    private String engineering;

}